import request from '@/utils/request'

// 获取渠道列表
export function getTableDataApi(data) {
    return request({
        url: '/api/system.company/index',
        method: 'post',
        data: data
    })
}

export function readCompanyApi(data) {
    return request({
        url: '/api/system.company/read',
        method: 'post',
        data: data
    })
}

export function createCompanyApi(data) {
    return request({
        url: '/api/system.company/create',
        method: 'post',
        data: data
    })
}

export function saveCompanyApi(data) {
    return request({
        url: '/api/system.company/save',
        method: 'post',
        data: data
    })
}

export function deleteCompanyApi(data) {
    return request({
        url: '/api/system.company/delete',
        method: 'post',
        data: data
    })
}